---
title: Date Element
description: Insert and format dates in your document.
docs:
  - route: /docs/date
    title: Date
---

## Installation

<Tabs defaultValue="cli">

<TabsList>
<TabsTrigger value="cli">CLI</TabsTrigger>
<TabsTrigger value="manual">Manual</TabsTrigger>
</TabsList>
<TabsContent value="cli">

```bash
npx @udecode/plate-ui@latest add date-element calendar
```

</TabsContent>

<TabsContent value="manual">

<Steps>

<Step>

Install the following dependencies:

- [Calendar](/docs/component/calendar)

</Step>


<Step>

Copy and paste the following code into your project.

</Step>

<ComponentSource name="date-element" />

<Step>

Update the import paths to match your project setup.

</Step>

</Steps>

</TabsContent>

</Tabs>

<ComponentPreview name="playground-demo" id="date" />

<PackageInfo>

## Features

- Insert and display dates within your text using inline date elements.
- Easily select and modify dates using a calendar interface.

</PackageInfo>

